/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package gametheory;

/**
 *
 * @author 3mara
 */
public class CrtPan implements Criteria {

    double threshold = 0.5;
    double nearZRadius = 0.5;
    double weight = 2;
    boolean[][][][] spotted;

    public double getScore(Camera camera, Person person) {
        if ((Math.abs(camera.orientation - (Test.number_of_orientations / 2))) == 0) {
            return 1;
        }
        return 1 / (Math.abs(camera.orientation - (Test.number_of_orientations / 2)));
    }
}
